package fg.animation.easing;

import fg.animation.Animation;
import fg.math.Easing;

/**
 * Abstract base class for all Easing-Animations.
 * 
 * @author robin
 * 
 */
public abstract class EasingAnimation extends Animation {

	protected Easing easing;

	public EasingAnimation(int duration, Easing easing) {
		super(duration);
		this.easing = easing;
	}

	/**
	 * @return the easing
	 */
	public Easing getEasing() {
		return easing;
	}

	/**
	 * @param easing
	 *            the easing to set
	 */
	public void setEasing(Easing easing) {
		this.easing = easing;
	}

}
